The Multipath Architecture for Prolog Programs

نویسندگان

  • Jordi Tubella
  • Antonio González
  • E. Elias
چکیده

This paper presents an architectural model that implements the Multipath execution model of Prolog programs. Multipath performs a partial breadth-rst traversal of SLD-trees, allowing a more eecient execution than the standard depth-rst traversal. Its advantages can be exploited either in a sequential or parallel implementation. In a sequential execution, Multipath reduces the number of operations by traversing more than one search path in a single control ow. Moreover, in the context of a parallel environment , Multipath exploits path parallelism, a particular case of data parallelism when exploring search trees. We present performance gures of both kinds of systems, sequential and parallel, when using the Multipath execution model and the architecture that it is presented in this work.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Exploiting path parallelism in logic programming

This paper presents a novel parallel implementation of Prolog. The system is based on Multipath 12], a novel execution model for Prolog that implements a partial breadth-rst search of the SLD-tree. The paper focusses on the type of parallelism inherent to the execution model, which is called path par-allelism. This is a particular case of data parallelism that can be eeciently exploited in a SP...

متن کامل

Combining depth-first and breadth-first search in Prolog execution

A new model for the execution of Prolog programs, called MEM (Multipath Execution Model), which combines a depth-first and breadth-first exploration of the search tree is presented. The breadth-first search allows more than one path (multiple potential solutions) to be explored at the same time. In this way, the computational cost of traversing the whole search tree associated to a program can ...

متن کامل

Prolog on the multithreaded Datarol-II machine based on the logicflow execution model

The paper presents how a massively parallel Prolog implementation can be achieved on the multithreaded Datarol-II machine. First the main features of the parallel Logicflow Model is summarized which was developed for implementing Prolog on massively parallel computers. Prolog programs are transformed into a dataflow-like graph called the Logicflow Graph in which nodes are macro dataflow nodes a...

متن کامل

Reasoning Agents in Dynamic Domains

The paper discusses an architecture for intelligent agents based on the use of A-Prolog-a language of logic programs under the answer set semantics. A-Prolog is used to represent the agent's knowledge about the domain and to formulate the agent's reasoning tasks. We outline how these tasks can be reduced to answering questions about properties of simple logic programs and demonstrate the method...

متن کامل

A Partial Breadth-First Execution Model for Prolog

MEM (Multipath Execution Model) is a novel model for the execution of Prolog programs which combines a depth-rst and breadth-rst exploration of the search tree. The breadth-rst search allows more than one path of the SLD-tree to be explored at the same time. In this way, the computational cost of traversing the whole search tree associated to a program can be decreased because the MEM model red...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Comput. J.

دوره 39  شماره 

صفحات  -

تاریخ انتشار 1996